<template>
  <!-- 热门课程组件 -->
  <div class="c_h_box">
    <!-- 标签栏 -->
    <div class="title">热门课程</div>
    <!-- 列表 -->
    <div class="list" v-for="item in [1, 2, 3, 4, 6]" :key="item">
      <CourseItem :imgIsUll="true" />
    </div>
  </div>
</template>

<script>
import CourseItem from "@/components/courseItem/index.vue";
export default {
  components: { CourseItem },
};
</script>

<style lang="less" scoped>
.c_h_box {
  padding: 0.5rem;
  padding-bottom: 2.5rem;
  box-sizing: border-box;
  .title {
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    color: #2a2929;
    font-size: 1rem;
    font-weight: bold;
  }
  .list {
    box-shadow: 0px 0px 4px 0px #e1e1e1;
    margin: 0.8rem 0;
    border-radius: 0.3rem;
  }
}
</style>
